function [ strokes ] = loadStrokes(modus)
%LOADSTROKES Summary of this function goes here
%   Detailed explanation goes here
    data = load('../efme_strokes/strokefeatures.mat');
    strokes = data.features_class';
    strokes = [strokes(size(strokes, 1),:); strokes(1:end-1,:)];
    if modus == 1
        strokes(1,strokes(1,:) == 6) = 1;
        strokes(1,strokes(1,:) < 3) = 1;
        strokes(1,strokes(1,:) > 2) = 2;
    end
    %disp(strokes);
    
        normalize_data=true;
    
    if (normalize_data)
        %normalize the data

        %map every statistic in range between 0 and 1

        %calculate the min/max
        mins = min(strokes(2:end, :), [], 2);
        maxs = max(strokes(2:end, :), [], 2);

        %normalize every value between 0 and 1 by value = (value - min) / (max - min) 

        delta = repmat(maxs - mins, 1, size(strokes, 2));
        test = repmat(mins, 1, size(strokes, 2));
        strokes(2:end, :) = (strokes(2:end, :) - test) ./ delta;
    end
    %disp(strokes)
end

